import { get, post } from "@/utils/request";
export const login = async (params) => {
    const res = await post('/user/login', params)
    return res.data
}
export const getCode = async () => {
    const res = await get('/captchaNbr', 1)
    return res.data
}